package com.hjj.concurrence.syncMethod.t6;

public class ThreadA extends Thread {
    private PublicCar publicCar;

    public ThreadA(PublicCar publicCar) {
        this.publicCar = publicCar;
    }

    @Override
    public void run() {
        publicCar.setValue("B", "BB");
    }
}
